package sjtu.ist.ecommerce.model;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "OrderSet")
public class OrderSet {
	@XmlElement(name = "Order")
	private List<Order> orderset;
	
	public void setCustomers(List<Order> orders) {
		this.orderset = orders;
	}
	
	public OrderSet(){
		orderset = new ArrayList<Order>();
	}	
	
    public List<Order> getOrderset() {
		return orderset;
	}
	
	public void setOrderset(List<Order> orderset) {
		this.orderset = orderset;
	}
}
